package com.util;

/**
 * Created by Jack on 2017/2/26.
 */
public class Consts {
		//	成功
	public static int SUCCESS = 200;
	//	错误代码
	public static int ERR_FILE_UPLOAD = 101;//文件上传出错
	public static int ERR_FILE_IO = 102; //文件IO出错
	public static int ERR_FIRSTPERSON_NOT_MATCH = 103;//一号人不匹配
	public static int ERR_FIRSTPERSON_NOT_FOUND=104;//一号人不存在
	public static int ERR_FILE_NOT_FOUND = 105;//文件未找到
	public static int ERR_OTHER_NUM_NOT_MATCH = 106;//导入归报人数不匹配
	public static int ERR_LENGTH_OUT_LIMIT = 107;//归报中居住地或者备注超过限定长度,不能超过6
	public static int ERR_STATE_NOT_OK = 108;//导出PDF的状态不对
//	导入归国状态
	public static int YES_INT = 1;
	public static int NO_INT = 0;

	public static int VISA_TYPE_GROUP = 0;// 团队签证
	public static int VISA_TYPE_SINGLE = 1; // 单次签证
	public static int VISA_TYPE_10CHEAP = 2; // 三年全境， 或者十分经济
	public static int VISA_TYPE_NORTH6 = 3; // 冲绳及东北六区

	// visa state
	public static int VISA_STATE_RAW = 0;// 未提交
	public static int VISA_STATE_MODIFY = 4;// 退回修改

	public static int VISA_STATE_SUBMITTED = 1;// 已提交
	public static int VISA_STATE_PUSH_SUCC = 3;// 推送成功
	public static int VISA_STATE_PUSH_FAIL = 5;// 推送失败

	public static int VISA_STATE_CANCEL = 2;// 撤消
	public static int VISA_STATE_CANCEL_SUCC = 6;// 撤消成功
	public static int VISA_STATE_CANCEL_FAIL = 7;// 撤消失败
 
	// return report state
	public static int RETURN_REPORT_STATE_RAW = 0;// 未上传
	public static int RETURN_REPORT_STATE_UPLOADED = 1;// 已上传
	public static int RETURN_REPORT_STATE_IMPORT_SUCC = 2;// 归报推送成功
	public static int RETURN_REPORT_STATE_IMPORT_FAIL = 3;// 归报推送失败

	// return report download state
	public static int RETURN_REPORT_DOWNLOAD_STATE_RAW = 0;// 未下载
	public static int RETURN_REPORT_DOWNLOAD_STATE_SUCC = 1;// 归报下载成功
	public static int RETURN_REPORT_DOWNLOAD_STATE_FAIL = 2;// 归报下载失败

	// fold path
	public static String FOLD_ROOT = "fold_root";
	public static String FOLD_RETURN_REPORT_UPLOAD = "fold_return_report_upload";
	public static String FOLD_RETURN_REPORT_PDF = "fold_return_report_pdf";

	// file types
	public static String FILE_TYPE_RETURN_REPORT_EXCEL = "return_report_excel";
	public static String FILE_TYPE_RETURN_REPORT_PDF = "return_report_pdf";
 
}
